import { ServiceConfig } from './../../common/serviceConfig';
import { EntityObjectFactory } from './../entityObjectFactory';
import { Inventory, Employee } from './'
var EntityObject = EntityObjectFactory.GetEntityObjectType();

export class ProduceRecord extends EntityObject<ProduceRecord> {
    constructor(ctx?) { super(ctx); }
    inventory: Inventory = null;
    inventoryId: string = null;
    storeId: string = null;
    terminal: { id: string, name: string } = null;
    terminalId: string = null;
    producer: Employee = null;
    producerId: string = null;
    creator: { id: string; name: string } = null;
    creatorId: string = null;
    quantity: number = null;
    beginTime: number = null;
    endTime: number = null;
    createTime: number = null;
    toString() { return "ProduceRecord"; }
}